export EVSDK_DIR=/usr/local/ev_sdk/
export EVSDK_TEST_DIR=/usr/local/ev_sdk/test/

cd ${EVSDK_DIR}
rm -rf build bin lib
mkdir build
cd build
cmake ..
make -j$(nproc)
make install

cd ${EVSDK_TEST_DIR}
rm -rf build
mkdir build
cd build
cmake ..
make -j$(nproc)
make install
